cmake_minimum_required(VERSION 3.5)
project(ql_csdk C)

set(CMAKE_C_STANDARD 11)

include_directories(include)
include_directories(include/base)
include_directories(include/proto)
include_directories(include/types)
include_directories(test)

add_executable(ql_csdk
        demo/main.c
        include/base/ecc.h
        include/base/hash.h
        include/base/json.h
        include/base/keccak256.h
        include/base/log.h
        include/base/x509.h
        include/base/md5.h
        include/proto/account.h
        include/proto/largefile.h
        include/types/ql_error_type.h
        include/types/ql_type.h
        src/base/ecc.c
        src/base/hash.c
        src/base/json.c
        src/base/keccak256.c
        src/base/log.c
        src/base/md5.c
        src/base/x509.c
        src/proto/account.c
        src/proto/largefile.c
)
